.compare-page {
  position: relative;
  padding-top: 40px;
  .compare-page-content {
    width: 100%;
    position: relative;
    overflow: auto;
    box-sizing: border-box;
    .compare-page-table {
      .compare-page-table-row {
        &:first-of-type {
          .compare-page-table-title {
            background: #ffffff;
            border-top: none;
          }
        }
      }
      .compare-page-table-title {
        width: 100px;
        text-align: right;
        vertical-align: top;
        background: #eeeeee;
        border-top: 1px solid #dddddd;
        color: #000000;
        font-size: 14px;
        font-weight: 700;
        padding: 10px;
      }
      .compare-page-table-cell {
        text-align: left;
        vertical-align: top;
        border-top: 1px solid #dddddd;
        color: #080255;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        padding: 10px;
        min-width: 170px;
        &:nth-child(2n + 1) {
          background-color: #f9f9f9;
        }
        .cell-content {
          &.content-type-image {
            max-width: 500px;
            margin: 0 auto;
          }
        }
        .compare-page-price {
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          gap: 8px;
          flex-wrap: wrap;
          .price-promotion {
            align-self: flex-end;
            display: flex;
            gap: 8px;
          }
          .price-regular {
            font-size: 14px;
            line-height: 20px;
            font-weight: 400;
            color: #555555;
          }
          .price-discount {
            font-size: 12px;
            line-height: 16px;
            font-weight: 400;
            color: #ffffff;
            background: #f24726;
            padding: 2px 5px;
            border: none;
            border-radius: 8px;
          }
        }
      }
      .compare-page-image-wrapper {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        background: #ffffff;
        border: 1px solid #eeeeee;
        overflow: hidden;
        position: relative;
        .compare-page-image {
          width: 100%;
          margin: 0 auto;
          object-fit: contain;
        }
      }
      .compare-page-text {
        word-wrap: break-word;
        word-break: break-word;
        white-space: break-spaces;
        font-size: 14px;
      }
      .compare-page-html {
        word-wrap: break-word;
        word-break: break-word;
        white-space: break-spaces;
        width: 100%;
        overflow: hidden;
        font-size: 12px;
        * {
          word-wrap: break-word;
          word-break: break-word;
          white-space: break-spaces;
        }
      }

      .compare-page-table-cell-toolbar {
        background: #ffffff;
        position: relative;
        height: 28px;
        .compare-page-button-remove {
          position: absolute;
          right: 0;
          bottom: -1px;
          padding: 2px 5px 0 10px;
          background-color: #fff;
          outline: none;
          border: 1px solid #dddddd;
          border-bottom: none;
          border-radius: 8px 8px 0 0;
          height: 23px;
          margin-right: 10px;
          display: inline-flex;
          align-items: stretch;
          .button-text {
            font-size: 12px;
            line-height: 16px;
          }
          .iconfont {
            font-size: 14px;
            line-height: 20px;
            margin-left: 5px;
          }
        }
        &:nth-child(2n + 1) {
          .compare-page-button-remove {
            background-color: #f9f9f9;
          }
        }
      }
    }
  }
  .compare-page-nulltips {
    font-size: 24px;
    line-height: 1.5;
    padding: 25px;
    color: #999999;
    text-align: center;
  }
  .compare-page-header {
    position: fixed;
    z-index: 999;
    background: #080255;
    height: 36px;
    left: 0;
    top: 0;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 0 10px;
    .compare-page-title {
      font-size: 16px;
      font-weight: 500;
      line-height: 1.5;
      color: #ffffff;
      padding-left: 10px;
    }
    .compare-page-buttons {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      padding: 0 5px;
      gap: 20px;
      .compare-page-button-print {
        font-size: 12px;
        line-height: 20px;
        color: #ffffff;
        cursor: pointer;
        .iconfont {
          font-size: 14px;
          line-height: 20px;
          color: #ffffff;
          margin-right: 5px;
        }
      }
      .compare-page-button-close {
        background: transparent;
        padding: 5px;
        outline: none;
        border: none;
        line-height: 0;
        height: 36px;
        .iconfont {
          font-size: 26px;
          line-height: 1;
          color: #ffffff;
        }
      }
    }
  }
}

@media print {
  .non-printable {
    display: none !important;
  }
}
// ================================================================================
// breakpoints: 1024 768 640 480 375 320
// ================================================================================
@media (max-width: 768px) {
  .compare-page {
    .compare-page-content {
      .compare-page-table {
        .compare-page-table-title {
          position: relative;
          .cell-content {
            display: inline-block;
          }
        }
      }
    }
    .compare-page-nulltips {
      font-size: 16px;
    }
    .compare-page-header {
      padding: 0;
      .compare-page-buttons {
        gap: 10px;
      }
    }
  }
}
